/*
Author Dave Lenz
Creation date: 17 jun 2009
 */
package nl.ypmits.utils.as3.view.simpledraw {
	import flash.display.Shape;

	public class Dot extends Shape {

		private var radius : int;
		
		
		public function Dot( _radius : int ) {
			radius = _radius;
		}

		
		public function activate() : void {
			graphics.clear();
			graphics.beginFill( 0x000000, .2 );
			graphics.drawCircle( 0, 0, radius * .5 );
		}

		
		public function deactivate() : void {
			graphics.clear();
			graphics.beginFill( 0x000000, .2 );
			graphics.drawCircle( 0, 0, radius * .5 );
		}
	}
}
